TeamsDR-Remove Customer with ITSP
The TeamsDR-Remove Customer with ITSP script removes a BYOC customer, and is shown below:
Copy
### Script Version 1.2 ###
# Removing BYOC Customer
# Id: 5461222
#
configure network
no access-list where description "{{CustomerId}}"
exit
configure voip
no ip-group where name "{{CustomerId}}-c"
no ip-group where name "{{CustomerId}}-t"
no proxy-set where proxy-name "{{CustomerId}}"
no sip-definition account where account-name "{{CustomerId}}"
{{#each SBC.DialPlanPrefixes}}
sbc dial-plan where name "{{this.DialPlanName}}"
no dial-plan-rule where name "{{../CustomerId}}"
exit
exit
{{/each}}
do write